package com.skt.domain.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订单商品项视图对象（用于订单详情展示）
 */
@Data
@Builder
@Schema(description = "订单商品项信息")
public class OrderItemVO {

    /**
     * 服装ID
     */
    @Schema(description = "服装ID", example = "1001")
    private Long costumeId;

    /**
     * 服装名称
     */
    @Schema(description = "服装名称", example = "复古宫廷礼服")
    private String costumeName;

    /**
     * 服装主图URL
     */
    @Schema(description = "服装图片", example = "https://cdn.example.com/costume/1001.jpg")
    private String costumeImage;

    /**
     * 租赁数量
     */
    @Schema(description = "租赁数量", example = "2")
    private Integer quantity;

    /**
     * 日租金（下单时快照价格，单位：元）
     */
    @Schema(description = "日租金", example = "39.80")
    private BigDecimal dailyPrice;
}